import wxHttp from "@/utils/wxRequest";

export function surveyList() {
  return wxHttp.get('/home/team/list')
}

export function surveyEdit(params) {
  return wxHttp.jsonPost(`/wxqy/activity/survey/edit?id=${params.id}&startTime=${params.startTime}&endTime=${params.endTime}`,
    params.survey)
}

export function surveyDetail(params) {
  return wxHttp.get(`/wxqy/activity/survey/detail`, params)
}
